package com.newasia.management;
/**
 * Created by mic on 2019/7/30.
 */


import com.newasia.management.dto.productCategory.*;

/**
 * lyh
 * 后台商品管理
 */
public interface IManagementCategoryService {

    //商品分类

    /**
     * 获取商品分类
     * @return
     */
    GetItemCatResponse getItemCat(Long parentId);

    /**
     * 创建商品分类
     * @param request
     * @return
     */
    CreateItemCatResponse createItemCat(CreateItemCatRequest request);

    /**
     * 删除商品分类
     * @return
     */
    DeleteItemCatResponse deleteItemCat(Long catId);

    /**
     * 修改商品分类
     *
     * @param catId
     * @param request
     * @return
     */
    ChangeItemCatResponse changeItemCat(Long catId, ChangeItemCatRequest request);


}
